package com.andy.eqm.server.utils;

public interface GoConstant {

	public static final String USER_SESSION_KEY = "USER_SESSION_KEY_";
	
	public static final int CHAIR_SIZE = 4; // 椅子数
	
	public static final int SUCC_CODE = 0; // 成功
	
	public static final int USER_STATUS_0 = 0; // 空闲中
	public static final int USER_STATUS_1 = 1; // 游戏中

	//// 炮台类型
	public static final int BATTERY_TYPE_0 = 0; // 基础炮
	public static final int BATTERY_TYPE_1 = 1; // 锁定炮
	public static final int BATTERY_TYPE_2 = 2; // 火箭炮
	/**
	 * 特殊炮
	 */
	public static final int BATTERY_TYPE_10 = 10; // 双响炮
	public static final int BATTERY_TYPE_11 = 11; // 弹射炮
	public static final int BATTERY_TYPE_12 = 12; // 电磁炮
	public static final int BATTERY_TYPE_13 = 13; // 核弹炮
	
	public static final int BATTERY_TYPE_20 = 20; // 8方向爆炸
	public static final int BATTERY_TYPE_21 = 21; // 100像素爆炸
	public static final int BATTERY_TYPE_22 = 22; // 闪电链
	
	public static final int BATTERY_TYPE_30 = 30; // 鱼王攻击
	
	public static final int BATTERY_TYPE_40 = 40; // 海王攻击，攻击全场所有鱼类，概率翻倍
	
	public static final int BATTERY_TYPE_50 = 50; // 进行抽奖
	
	public static final int CHANGE_PLAY_DURA = 2000; // 过场动画播放时间
	
	public static final int[] SHELL_NUMS = new int[] {20,10,5,3}; // 掉落炮弹数
	public static final int[] SHELL_DURA = new int[] {120,60,30,10}; // 掉落炮弹持续时间
	
	public static final int[] ROOM_RATE = new int[] {1,100,200,500}; // 房间倍率
	
//	public static final long ROBOT_ID_START = 10000000; // 机器人起始id
	
	
	/**
	 * 后台命令
	 */
	int CMD_0 = 0; // 停服
	int CMD_1 = 1; // 刷新系统参数
	int CMD_2 = 2; // 刷新触发场景
	int CMD_3 = 3; // 刷新场景
	int CMD_4 = 4; // 刷新剧本
	int CMD_5 = 5; // 刷新鱼类
	int CMD_6 = 6; // 刷新攻击类型
	int CMD_7 = 7; // 刷新拉霸配置
	
}
